package com.wqr.pojo;

import java.io.Serializable;
import java.util.Date;

public class Discuss implements Serializable {
    /**
     * 评论表ID
     */
    private Integer discussId;

    /**
     * 评论时间
     */
    private Date discussTime;

    /**
     * 评论表内容
     */
    private String discussContent;

    /**
     * 登陆ID
     */
    private Integer loginId;

    /**
     * 登录名
     */
    private String loginName;

    /**
     * 美食ID
     */
    private Integer deliciousId;

    /**
     * 美食名称
     */
    private String deliciousName;
    
    private String userName;
    

    public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	private static final long serialVersionUID = 1L;

    public Integer getDiscussId() {
        return discussId;
    }

    public void setDiscussId(Integer discussId) {
        this.discussId = discussId;
    }

    public Date getDiscussTime() {
        return discussTime;
    }

    public void setDiscussTime(Date discussTime) {
        this.discussTime = discussTime;
    }

    public String getDiscussContent() {
        return discussContent;
    }

    public void setDiscussContent(String discussContent) {
        this.discussContent = discussContent == null ? null : discussContent.trim();
    }

    public Integer getLoginId() {
        return loginId;
    }

    public void setLoginId(Integer loginId) {
        this.loginId = loginId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public Integer getDeliciousId() {
        return deliciousId;
    }

    public void setDeliciousId(Integer deliciousId) {
        this.deliciousId = deliciousId;
    }

    public String getDeliciousName() {
        return deliciousName;
    }

    public void setDeliciousName(String deliciousName) {
        this.deliciousName = deliciousName == null ? null : deliciousName.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", discussId=").append(discussId);
        sb.append(", discussTime=").append(discussTime);
        sb.append(", discussContent=").append(discussContent);
        sb.append(", loginId=").append(loginId);
        sb.append(", loginName=").append(loginName);
        sb.append(", deliciousId=").append(deliciousId);
        sb.append(", deliciousName=").append(deliciousName);
        sb.append(", userName=").append(userName);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}